package cn.zzuisa.news.repository;

import java.util.List;

import cn.zzuisa.news.entity.User;
import cn.zzuisa.news.form.UserEditForm;

/**
 * @ClassName: UserRepository.java
 * @Description: TODO 用户dao
 * @author zzuisa
 * @version V1.0
 * @Date 2018年9月4日 上午9:10:16
 */
public interface UserRepository {
	User login(String username, String password);

	User findById(Integer id);
	
	int addpoint(Integer id);
	
	User findByUsername(String username);
	
	boolean edit(UserEditForm userEditForm);
	
	boolean editState(Integer id,Integer key);
}
